


/* čísla oranžově; vše ostatní bílé */
#halloween-sale-countdown .num { color:#ff6a00; }
#halloween-sale-countdown .title{ font-weight:700; color:#ff6a00; text-transform:uppercase; }

/* desktop ladění (už máš): víc vlevo, menší text */
@media (min-width: 900px){
  #halloween-sale-countdown{
    right: 160px !important;
    top: -1px !important;
    font-size: 16px !important;
    padding: 4px 8px !important;
    letter-spacing: .3px !important;
  }
}

/* mobil < 750px: lišta NAD toggle blokem (už vkládáme nad něj) */
@media (max-width: 749px){
  #halloween-sale-countdown{
    font-size: 14px !important;
    padding: 6px 10px !important;
    border-radius: 0 !important;
  }
  #halloween-sale-countdown .chunk{ white-space:nowrap; }
}
@media (max-width: 749px){
  #halloween-sale-countdown .label{
    display: block;          /* popisek na samostatný řádek */
    margin-bottom: 4px;      /* malý rozestup nad odpočtem */
    text-align: center;      /* zarovnat hezky na střed */
  }
  #halloween-sale-countdown .chunk{
    display: inline-block;   /* ať se skupiny drží pohromadě */
    margin: 0 4px;
  }
}
/* ================================
   PRICE WITH CODE (desktop + mobile)
   ================================ */

/* ZÁKLAD (desktop / obecně) – KOMPAKTNÍ */
.price-with-code{
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;

  display: inline-block;      /* na desktopu může být inline */
  padding: 4px 8px;
  border: 1px solid #ff6a00;
  border-radius: 0;
  background: transparent;

  box-sizing: border-box;
}

.price-with-code .pwc-value,
.price-with-code .pwc-code{
  color:#ff6a00;              /* default oranžová (u tebe se pak JS přebarví na růžovou) */
  font-weight: 700;
}

.price-with-code .pwc-text{
  color:#000;                 /* "s kódem" černě */
  font-weight: 700;
}


/* ================================
   MOBILE FIX – slider + karty (max 749px)
   - 2 řádky: cena / (s kódem + kód)
   - žádné přetékání, žádné obří bloky
   ================================ */
@media (max-width: 749px){

  /* cílíme jen na listing/slider, ne na detail */
  .products-top-wrapper .price-with-code,
  .products-block .price-with-code,
  .product .price-with-code{
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: baseline !important;
    gap: 2px 6px !important;

    width: calc(100% - 14px) !important;     /* klíč: fit do karty, bez přetékání */
    max-width: calc(100% - 14px) !important;

    margin: 6px auto 0 !important;
    padding: 6px 6px !important;

    font-size: 11px !important;
    line-height: 1.05 !important;

    overflow: hidden !important;             /* anti overflow do slicku */
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* 1. řádek: CENA (sama) */
  .products-top-wrapper .price-with-code .pwc-value,
  .products-block .price-with-code .pwc-value,
  .product .price-with-code .pwc-value{
    flex: 0 0 100% !important;
    font-size: 16px !important;              /* menší než dřív */
    font-weight: 900 !important;
    line-height: 1 !important;
    margin: 0 0 2px 0 !important;
    white-space: nowrap !important;
  }

  /* 2. řádek: "s kódem" + kód vedle sebe */
  .products-top-wrapper .price-with-code .pwc-text,
  .products-block .price-with-code .pwc-text,
  .product .price-with-code .pwc-text{
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    color: #000 !important;                  /* vynuceně černě */
  }

  .products-top-wrapper .price-with-code .pwc-code,
  .products-block .price-with-code .pwc-code,
  .product .price-with-code .pwc-code{
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }
}


/* ================================
   COUNTDOWN – tvoje stávající
   ================================ */

/* čísla oranžově; vše ostatní bílé */
#halloween-sale-countdown .num { color:#ff6a00; }
#halloween-sale-countdown .title{ font-weight:700; color:#ff6a00; text-transform:uppercase; }

/* desktop ladění: víc vlevo, menší text */
@media (min-width: 900px){
  #halloween-sale-countdown{
    right: 160px !important;
    top: -1px !important;
    font-size: 16px !important;
    padding: 4px 8px !important;
    letter-spacing: .3px !important;
  }
}

/* mobil < 750px */
@media (max-width: 749px){
  #halloween-sale-countdown{
    font-size: 14px !important;
    padding: 6px 10px !important;
    border-radius: 0 !important;
  }
  #halloween-sale-countdown .chunk{ white-space:nowrap; }
  #halloween-sale-countdown .label{
    display: block;
    margin-bottom: 4px;
    text-align: center;
  }
  #halloween-sale-countdown .chunk{
    display: inline-block;
    margin: 0 4px;
  }
}
